package ai

// 重新导出 types 包中的类型，保持向后兼容
import "yanxue_ai_go/pkg/common/ai/types"

// 类型别名 - 重新导出所有类型
type (
	ModelProvider          = types.ModelProvider
	ModelType              = types.ModelType
	ChatMessage            = types.ChatMessage
	ChatRequest            = types.ChatRequest
	ChatResponse           = types.ChatResponse
	Choice                 = types.Choice
	Usage                  = types.Usage
	Tool                   = types.Tool
	Function               = types.Function
	EmbeddingRequest       = types.EmbeddingRequest
	EmbeddingResponse      = types.EmbeddingResponse
	Embedding              = types.Embedding
	ModelInfo              = types.ModelInfo
	AIModel                = types.AIModel
	ModelManager           = types.ModelManager
	ModelSelectionCriteria = types.ModelSelectionCriteria
	StreamResponse         = types.StreamResponse
)

// 常量重新导出
const (
	ProviderOpenAI    = types.ProviderOpenAI
	ProviderAnthropic = types.ProviderAnthropic
	ProviderOllama    = types.ProviderOllama
	ProviderLocal     = types.ProviderLocal
	ProviderCustom    = types.ProviderCustom

	TypeChat       = types.TypeChat
	TypeCompletion = types.TypeCompletion
	TypeEmbedding  = types.TypeEmbedding
	TypeImage      = types.TypeImage
	TypeCode       = types.TypeCode
)
